{% extends 'base_registration.html' %}

{% block top_content %}
{% endblock %}

{% block main_content %}

  <div class="gcb-cols">
    <div class="gcb-col-1">
    </div>

    <div class="gcb-col-7 gcb-aside gcb-button-box">
      {% if course_status == "full" %}
        <p class="gcb-top-content">
          {# I18N: Message shown to the student immediately after registration. #}
          {{ gettext('Thank you for registering for %(course_title)s. Unfortunately, the course is now full, so registration has closed.', course_title=course_info.course.title) }}
        </p>

      {% else %}
        <p class="gcb-top-content">
          {# I18N: Message shown to the student immediately after registration. #}
          {{ gettext('Thank you for registering for %(course_title)s. Stay tuned for more information about the course which will start on %(start_date)s.', course_title=course_info.course.title, start_date=course_info.course.start_date) }}
        </p>

        <div style="text-align:left;">
          <ul>
            {% if course_info.course.forum_url %}
              <li>
                {# I18N: Welcome text shown to the student after he/she registers for a course. It is followed immediately by a URL. #}
                {{ gettext('To participate in community discussions about this course, register for the web forum at ') }}
                <a href="{{course_info.course.forum_url}}">
                  {{course_info.course.forum_url}}
                </a>.
                {# I18N: Instructions for joining a Google Group. #}
                {% trans %} On that page, click on <b>Join Group</b>. {% endtrans %}
              </li>
            {% endif %}

            {% if course_info.course.announcement_list_url %}
              <li>
                {# I18N: Welcome text shown to the student after he/she registers for a course. It is followed immediately by a URL. #}
                {{ gettext('To receive announcements about this course, register for the announcements-only email list at ')}}
                <a href="{{course_info.course.announcement_list_url}}">
                  {{course_info.course.announcement_list_url}}
                </a>.
                {# I18N: Instructions for joining a Google Group. #}
                {% trans %} On that page, click on <b>Join Group</b>. In the dialog box that appears, under <b>How do you want to read this group?</b>, choose <b>Email</b>. {% endtrans %}
              </li>
            {% endif %}
          </ul>
        </div>
      {% endif %}

    </div>
  </div>
{% endblock %}
